package com.thjk.bdf.system.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.thjk.bdf.system.service.request.LoanRequest;
import com.thjk.bdf.system.service.response.LoanResponse;
import com.thjk.loan.management.common.page.TableDataInfo;
/**
 * 
 * @创建日期： 2019年12月18日
 * @author 束凯
 * @Description：放款结果查询接口
 */
@FeignClient(value ="bdf-system")
public interface LoanService {
	
	/**
	 * 
	 * @Description: 放款列表查询
	 * @params:参宿说明
	 */
	@RequestMapping(value = "/loan/list", method = RequestMethod.POST)
	TableDataInfo selectByPage(@RequestBody LoanRequest requset);
	/**
	 * 
	 * @Description: 查看详情
	 * @params:参宿说明
	 */
	@RequestMapping(value = "/loan/selectById", method = RequestMethod.POST)
	LoanResponse selectById(@RequestParam("id") Long id );
	
	
	
	/**
	 * 
	 * @Description: 导出
	 * @params:参宿说明
	 */
	@RequestMapping(value = "/loan/selectExport", method = RequestMethod.POST)
	List<LoanResponse> selectExport(@RequestBody LoanRequest request);
	

}
